<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>个人中心</title>
    <link rel="stylesheet" href="/themes/front/index_files/common.css">
    <link rel="stylesheet" href="/themes/front/member_files/member.css">
    <link rel="stylesheet" href="/themes/front/index.css">

</head>
<body>
<#include "include/top.html"/>
<div class="content_bak">
    <div class="content">
        <div class="member_content">
            <ul class="member_left">
                <!-- 会员中心-个人中心 -->
                <li class="grzl">
                    <h3>个人资料</h3>
                    <a href="#" onclick="$('.grxx').show();$('.pwd').hide();">个人信息</a>
                    <a href="#" onclick="$('.grxx').hide();$('.pwd').show();">修改密码</a>
                </li>
            </ul>

            <div class="member_right">
                <div class="grxx right_content ">
                    <dl class="title"><dt>个人信息</dt></dl>
                    <form id="f" method="post" action="/member/update">

                    <ul>
                        <li><span>成交数：</span><input type="text" value="${sessionUser.illegal!0}件" disabled></li>
                        <li><span>信誉度：</span><input type="text"  value="${100-sessionUser.deal!0}" disabled>(违规一次，扣一点，共一百点)</li>
                        <li><span>姓名：</span><input type="text" name="name" value="${sessionUser.name}" required></li>
                        <li><span>地址: </span><input type="text" name="address" value="${sessionUser.address}" required></li>
                        <li><span>邮箱：</span><input type="text" name="email" value="${sessionUser.email}" required></li>
                        <li><span>手机号：</span><input type="text" name="phone" value="${sessionUser.phone}" ></li>
                        <li><span>&nbsp;</span><button type="submit" >保存</button></li>
                    </ul>
                    </form>
                </div>

                <div class="pwd right_content  hide">
                    <dl class="title"><dt>修改密码</dt></dl>
                    <form id="f" method="post" action="/member/modfy">
                    <ul>
                        <li><span>当前密码：</span><input type="password" name="password" value="" required></li>
                        <li><span>新密码：</span><input type="password" name="newpassword" value="" required></li>
                        <li><span>确认新密码：</span><input type="password" name="repassword" value="" required></li>
                        <li><span>&nbsp;</span><button type="submit" >保存</button></li>
                    </ul>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>